import request from '@/utils/request'
import * as proxy from '@/constants/proxy'

const outLogin = (params) => {
  return request.post( proxy.CHECC_API_CMS +`/out/login`,params);
};
// 获取用户数据
export const getUser = () =>
  request({
    url: proxy.CHECC_API_CMS + '/user/info',
    method: 'get',
  })

export { outLogin }
